#include <stdio.h>
#define BUFF_SIZE 100

int main(int argc,char *argv[])
{
    if(argc!=2) return 1;
    const char *filename = argv[1];
    FILE* fp = fopen(filename,"r");

   while(1)
   {
       char buff[BUFF_SIZE+1];
       size_t ret = fread(buff,1,BUFF_SIZE,fp);
       buff[ret] = '\0';
       printf("%s",buff);
       if(feof(fp))
           break;
   }
    fclose(fp);

    return 0;
}
